package com.shenmazong.serveraopdemo.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @program: server-java-demo
 * @description: TbUser
 * @author: 亮子说编程
 * @create: 2021-02-02 17:33
 **/

@Data
public class TbUser {
    // https://www.codepeople.cn/2020/04/17/SpringBoot2.x-Long2String/

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    private String userName;
}
